package cn.com.nes.mybatis.agent.crm.mapper;

import cn.com.nes.mybatis.agent.crm.entity.CustomerStaff;
import cn.com.nes.site.service.crm.customer.bo.CustomerStaffBO;
import cn.com.nes.site.service.crm.customer.dto.CustomerStaffDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author yishuai
* @description 针对表【customer_staff】的数据库操作Mapper
* @createDate 2024-03-06 15:41:27
* @Entity cn.com.nes.mybatis.agent.crm.entity.CustomerStaff
*/
public interface CustomerStaffMapper extends BaseMapper<CustomerStaff> {

    List<CustomerStaffDTO> getCustomerStaffList(CustomerStaffBO customerStaffBo);
    CustomerStaffDTO getMainCustomerStaff(@Param("customerUUid") String customerUUid);
    CustomerStaffDTO getHouseholdCustomerStaff(@Param("customerUUid") String customerUUid);
    List<CustomerStaffDTO> getCustomerStaffPage(@Param("page") Page<CustomerStaffDTO> page, @Param("bo") CustomerStaffBO customerStaffBO);

}




